﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using FluentNHibernate.Mapping;

namespace AssetAllocationSystem.Models.Mapping
{
    public class AssetVendorMapping : ClassMap<AssetVendor>
    {
        public AssetVendorMapping()
        {
            Table("AssetVendor");
            Id(a => a.Id);
            References(a => a.Asset).Column("Asset_Id");
            References(a => a.Vendor).Column("Vendor_Id");
        }
    }
}